<template>
    <div>

        <div class="main">
            <div class="box">
                <img src="../assets/success.png" alt="" width="70px" height="70px">
                <div>提交成功！请耐心等待~</div>
                <div style="margin:25px">{{ info }}</div>
            </div>
        </div>

    </div>
</template>

<script>
export default {
    data() {

        return {
            info: "",
            mottoList: [
                '等风来不如追风去，追逐的过程就是人生的意义',
                '当你想要放弃了，那就想想当初为什么开始',
                '自强之人谁也打不倒，自弃之人谁也带不动',
                '既然无法选择回去的路程，那么就清晰的面对已经造成的挑战',
                '在难过的时候，不要忘记自己还要前进',
                '人生能有几次搏？莫到白发还未博'
            ],
        }
    },
    created() {

    },
    mounted() {

        this.$nextTick(() => {
            var aNumber = (5-1- 1) * Math.random() + (1+1);

var result = Math.floor(aNumber);
            console.log(result);
            this.info = this.mottoList[result]
        })
    },
    methods: {



    },


}
</script>

<style>
.box {
    text-align: center;
    position: relative;
    top: 100px;
}
</style>